UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Crontab files must have mode 0600 or less permissive, and files in cron script directories must have mode 0700 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-978 GEN003080 SV-37466r1_rule ECLP-1 Medium
Description
To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2013-01-17

Details

Check Text ( C-36132r1_chk )
Check the mode of the crontab files.
# ls -lL /var/spool/cron/
# ls -lL /etc/cron.d/
# ls -lL /etc/crontab
If any crontab file has a mode more permissive than 0600, this is a finding.
Fix Text (F-31377r1_fix)
Change the mode of the crontab files.
# chmod 0600 /var/spool/cron/* /etc/cron.d/* /etc/crontab